const readline = require('readline-sync');



let sum = 0;
let str = '';
for (let i = 1; i <= 9; i++) {
    for (let j = 1; j <= i; j++) {
        sum = i * j;
        str += i + "*" + j + "=" + sum+'  '
    }
    console.log(str);
    str = '';
}
console.log(str);